package com.onedec.menu.dao;

import com.onedec.menu.entity.OnedecDept;
import com.onedec.menu.entity.OnedecDeptExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OnedecDeptDao {
    long countByExample(OnedecDeptExample example);

    int deleteByExample(OnedecDeptExample example);

    int deleteByPrimaryKey(Integer deptId);

    int insert(OnedecDept record);

    int insertSelective(OnedecDept record);

    List<OnedecDept> selectByExample(OnedecDeptExample example);

    OnedecDept selectByPrimaryKey(Integer deptId);

    int updateByExampleSelective(@Param("record") OnedecDept record, @Param("example") OnedecDeptExample example);

    int updateByExample(@Param("record") OnedecDept record, @Param("example") OnedecDeptExample example);

    int updateByPrimaryKeySelective(OnedecDept record);

    int updateByPrimaryKey(OnedecDept record);
}